<nav class="navbar navbar-inverse">
	<div class="container">
		<div class="navbar-header">
			<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
				<span class="sr-only">Toggle navigation</span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
			</button>
			<a class="navbar-brand" th:href="@{/}" th:text="#{i18n.text_158}"></a>
		</div>
		<div id="navbar" class="collapse navbar-collapse">
			<ul class="nav navbar-nav">
				<li><a th:href="@{/}" th:text="#{i18n.text_1}"></a></li>
				<li><a th:href="@{/stat/BTC}" th:text="#{i18n.text_3}"></a></li>
				<li><a th:href="@{/home/user}" th:text="#{i18n.text_4}" th:if="${email!=null}"></a></li>
				<li><a th:href="@{/home/setting}" th:text="#{i18n.text_2}" th:if="${email!=null}"></a></li>
				<li><a th:href="@{/help/help}" th:text="#{i18n.text_12}"></a></li>
			</ul>
			<div class="top_right">
				<div class="info" th:if="${email!=null}">
					<div class="btn-group m-t-10">
						<div style="width:130px;line-height: 21px;color: #fff;text-align:right;">
							<span th:text="#{i18n.text_96}"></span>：<span th:text="${coinType}"></span>
						</div>
					</div>
				</div>
				<div class="ver_line" th:if="${email!=null}"></div>
				<div class="info children btn-group" th:if="${email!=null}">
					<a data-toggle="dropdown">
						<div class="cn" th:text="#{i18n.text_14}"></div>
						<div class="useren">
							<div class="en_met" th:text="${bmpAccount}?${bmpAccount.name}:''"></div>
							<div class="sanjiao_img"></div>
						</div>
					</a>
					<ul class="dropdown-menu ddlselect child_ddl" role="menu" >
						<li th:each="ba : ${bmpAccounts}">
							<a class="accountChange" th:attr="acccountid=${ba.id}" th:text="${ba.name}"></a>
						</li>
					</ul>
				</div>
				<div class="ver_line"></div>
				<div class="info">
					<div class="email btn-group">
						<a data-toggle="dropdown">
							<div class="headinfo"> <img th:src="@{/images/akpool/icon-user-24.png}"/></div>
							<span id="user" class="en" th:text="${email}"></span> &nbsp;
							<span class="sanjiao_img" style="margin-top:15px;"></span>
						</a>
						<ul class="dropdown-menu ddlselect userst" role="menu">
							<li th:if="${email==null}"><a th:href="@{/login}" th:text="#{i18n.text_6}"></a></li>
							<li th:if="${email==null}"><a th:href="@{/register}" th:text="#{i18n.text_11}"></a></li>
							<li th:unless="${email==null}"><a th:href="@{/loginout}" th:text="#{i18n.text_15}"></a></li>
							<li th:unless="${email==null}"><a th:href="@{/home/editPwd}" th:text="#{i18n.text_16}"></a></li>
							<li th:if="${mobile==null and email!=null}"><a th:href="@{/home/bindMobile}" th:text="#{i18n.text_49}"></a></li>
							<li th:if="${mobile!=null and email!=null}"><a th:href="@{/home/bindMobile}" th:text="#{i18n.text_206}"></a></li>
						</ul>
					</div>
					<div class="btn-group m-t-10 languageDiv">
						<div class="language langText" data-toggle="dropdown" style="width:60px">中文简体</div>
						<ul class="dropdown-menu ddlselect lngst locale" role="menu">
							<li><a name="en_US">English</a></li>
							<li><a name="zh_CN">中文简体</a></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
</nav>
